﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StarryEdge.WPF.Attributes
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
    public class MenuAttribute : Attribute
    {
        /// <summary>
        /// 排序
        /// </summary>
        public int Index { get; set; }
        /// <summary>
        /// 名字
        /// </summary>
        public string RegionName { get; set; }

        public MenuAttribute(int index, string regionName)
        {
            Index = index;
            RegionName = regionName;
        }
    }
}
